home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / winterp-1.13 / src-client / Makefile < prev    next >
Encoding:
Makefile  |  1991-10-04  |  12.0 KB  |  542 lines

  1. # Makefile generated by imake - do not edit!
  2. # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
  3. #
  4. # The cpp used on this machine replaces all newlines and multiple tabs and
  5. # spaces in a macro expansion with a single space.  Imake tries to compensate
  6. # for this, but is not always successful.
  7. #
  8.  
  9. ###########################################################################
  10. # Makefile generated from "Imake.tmpl" and </tmp/IIf.a10423>
  11. # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
  12. #
  13. # Platform-specific parameters may be set in the appropriate .cf
  14. # configuration files.  Site-wide parameters may be set in the file
  15. # site.def.  Full rebuilds are recommended if any parameters are changed.
  16. #
  17. # If your C preprocessor doesn't define any unique symbols, you'll need
  18. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  19. # "make Makefile", "make Makefiles", or "make World").
  20. #
  21. # If you absolutely can't get imake to work, you'll need to set the
  22. # variables at the top of each Makefile as well as the dependencies at the
  23. # bottom (makedepend will do this automatically).
  24. #
  25.  
  26. # 59
  27.  
  28. # 66
  29.  
  30. # 73
  31.  
  32. # 87
  33.  
  34. # 94
  35.  
  36. # 101
  37.  
  38. # 108
  39.  
  40. # 115
  41.  
  42. # 123
  43.  
  44. # 131
  45.  
  46. # 140
  47.  
  48. # 147
  49.  
  50. # 156
  51.  
  52. # 160
  53.  
  54. # 179
  55.  
  56. # 188
  57.  
  58. ###########################################################################
  59. # platform-specific configuration parameters - edit hp.cf to change
  60.  
  61. # 17
  62.  
  63. # platform:  $XConsortium: hp.cf,v 1.24 89/12/10 11:57:02 rws Exp $
  64. # operating system:  HP-UX 7.0
  65.  
  66. # 59
  67.  
  68. # 65
  69.  
  70. # 69
  71.  
  72. ###########################################################################
  73. # site-specific configuration parameters - edit site.def to change
  74.  
  75. # site:  $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $
  76.  
  77. # 113
  78.  
  79. # 122
  80.  
  81. # 128
  82.  
  83. # 139
  84.  
  85. # 215
  86.  
  87. # 218
  88.  
  89. # 221
  90.  
  91. # 231
  92.  
  93. # 241
  94.  
  95. # 246
  96.  
  97. # 253
  98.  
  99. # 260
  100.  
  101. # 270
  102.  
  103. # 276
  104.  
  105. # 304
  106.  
  107. # 314
  108.  
  109. # 324
  110.  
  111. # 341
  112.  
  113. # 398
  114.  
  115. # 408
  116.  
  117. # 425
  118.  
  119. # 443
  120.  
  121. # 456
  122.  
  123. # 464
  124.  
  125. # 474
  126.  
  127. # 480
  128.  
  129. # 486
  130.  
  131. # 499
  132.  
  133. # 510
  134.  
  135. # 514
  136.  
  137. # 523
  138.  
  139. # 529
  140.  
  141. # 538
  142.  
  143. # 541
  144.  
  145.             SHELL = /bin/sh
  146.  
  147.               TOP = ../../../../mit
  148.       CURRENT_DIR = ./src-client
  149.  
  150.                AR = ar cq
  151.   BOOTSTRAPCFLAGS =
  152.                CC = cc
  153. # 558
  154.  
  155.          COMPRESS = compress
  156.               CPP = /lib/cpp $(STD_CPP_DEFINES)
  157.     PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
  158.           INSTALL = $(SCRIPTSRC)/bsdinst.sh
  159.                LD = ld
  160.              LINT = lint
  161.       LINTLIBFLAG = -o
  162.          LINTOPTS = -ax -Nd4000 -Ns3300 -Ne700 -Np200 -Na25000 -DSYSV
  163.                LN = ln -s
  164.              MAKE = make
  165.                MV = mv -f
  166.                CP = cp
  167.            RANLIB = /bin/true
  168.   RANLIBINSTFLAGS =
  169.                RM = rm -f
  170.      STD_INCLUDES =
  171.   STD_CPP_DEFINES = -DSYSV
  172.       STD_DEFINES = -Wc,-Nd4000,-Ns3300,-Ne700,-Np200 -DSYSV -DMALLOC_0_RETURNS_NULL
  173.  EXTRA_LOAD_FLAGS = -lmalloc
  174.   EXTRA_LIBRARIES =
  175.              TAGS = ctags
  176.  
  177.            MFLAGS = -$(MAKEFLAGS)
  178.  
  179. # 586
  180.  
  181. # 589
  182.  
  183. # 595
  184.  
  185. # 602
  186.  
  187.     PROTO_DEFINES =
  188.  
  189. # 609
  190.  
  191.      INSTPGMFLAGS =
  192.  
  193.      INSTBINFLAGS = -m 0755
  194.      INSTUIDFLAGS = -m 4755
  195.      INSTLIBFLAGS = -m 0664
  196.      INSTINCFLAGS = -m 0444
  197.      INSTMANFLAGS = -m 0444
  198.      INSTDATFLAGS = -m 0444
  199.     INSTKMEMFLAGS = -m 4755
  200.  
  201.           DESTDIR =
  202. # 623
  203.  
  204.      TOP_INCLUDES = -I$(TOP)
  205.  
  206.       CDEBUGFLAGS = -O
  207.         CCOPTIONS =
  208.       COMPATFLAGS =
  209.  
  210.       ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES)
  211.        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)
  212.            CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  213.         LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
  214.            LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  215.         LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
  216.    LDCOMBINEFLAGS = -X -r
  217.  
  218.         MACROFILE = hp.cf
  219.            RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
  220.  
  221.     IMAKE_DEFINES =
  222. # 650
  223.  
  224.          IRULESRC = $(CONFIGSRC)
  225.         IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)
  226.  
  227.      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
  228.             $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
  229.             $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
  230.  
  231. ###########################################################################
  232. # X Window System Build Parameters
  233. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  234.  
  235. # 21
  236.  
  237. # 27
  238.  
  239. # 39
  240.  
  241. # 84
  242.  
  243. # 117
  244.  
  245. # 133
  246.  
  247. # 142
  248.  
  249. # 155
  250.  
  251. # 228
  252.  
  253. # 234
  254.  
  255. # 240
  256.  
  257. # 248
  258.  
  259. # 255
  260.  
  261. # 262
  262.  
  263. # 269
  264.  
  265. # 276
  266.  
  267. # 286
  268.  
  269. # 328
  270.  
  271. ###########################################################################
  272. # X Window System make variables; this need to be coordinated with rules
  273. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  274.  
  275.           PATHSEP = /
  276.         USRLIBDIR = $(DESTDIR)/usr/lib
  277.            BINDIR = $(DESTDIR)/usr/bin/X11
  278.           INCROOT = $(DESTDIR)/usr/include
  279.      BUILDINCROOT = $(TOP)
  280.       BUILDINCDIR = $(BUILDINCROOT)/X11
  281.       BUILDINCTOP = ..
  282.            INCDIR = $(INCROOT)/X11
  283.            ADMDIR = $(DESTDIR)/usr/adm
  284.            LIBDIR = $(USRLIBDIR)/X11
  285.         CONFIGDIR = $(LIBDIR)/config
  286.        LINTLIBDIR = $(USRLIBDIR)/lint
  287.  
  288.           FONTDIR = $(LIBDIR)/fonts
  289.          XINITDIR = $(LIBDIR)/xinit
  290.            XDMDIR = $(LIBDIR)/xdm
  291.            AWMDIR = $(LIBDIR)/awm
  292.            TWMDIR = $(LIBDIR)/twm
  293.            GWMDIR = $(LIBDIR)/gwm
  294.           MANPATH = $(DESTDIR)/usr/man
  295.     MANSOURCEPATH = $(MANPATH)/man
  296.            MANDIR = $(MANSOURCEPATH)n
  297.         LIBMANDIR = $(MANSOURCEPATH)3
  298.       XAPPLOADDIR = $(LIBDIR)/app-defaults
  299. # 376
  300.  
  301.        FONTCFLAGS = -t
  302.  
  303.      INSTAPPFLAGS = $(INSTDATFLAGS)
  304.  
  305. # 388
  306.  
  307.             IMAKE = $(IMAKESRC)/imake
  308.            DEPEND = $(DEPENDSRC)/makedepend
  309.               RGB = $(RGBSRC)/rgb
  310.             FONTC = $(BDFTOSNFSRC)/bdftosnf
  311.         MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
  312.         MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh
  313.  
  314.         CONFIGSRC = $(TOP)/config
  315.         CLIENTSRC = $(TOP)/clients
  316.           DEMOSRC = $(TOP)/demos
  317.            LIBSRC = $(TOP)/lib
  318.           FONTSRC = $(TOP)/fonts
  319.        INCLUDESRC = $(TOP)/X11
  320.         SERVERSRC = $(TOP)/server
  321.           UTILSRC = $(TOP)/util
  322.         SCRIPTSRC = $(UTILSRC)/scripts
  323.        EXAMPLESRC = $(TOP)/examples
  324.        CONTRIBSRC = $(TOP)/../contrib
  325.            DOCSRC = $(TOP)/doc
  326.            RGBSRC = $(TOP)/rgb
  327.         DEPENDSRC = $(UTILSRC)/makedepend
  328.          IMAKESRC = $(CONFIGSRC)
  329.          XAUTHSRC = $(LIBSRC)/Xau
  330.           XLIBSRC = $(LIBSRC)/X
  331.            XMUSRC = $(LIBSRC)/Xmu
  332.        TOOLKITSRC = $(LIBSRC)/Xt
  333.        AWIDGETSRC = $(LIBSRC)/Xaw
  334.        OLDXLIBSRC = $(LIBSRC)/oldX
  335.       XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  336.       BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  337.      MKFONTDIRSRC = $(FONTSRC)/mkfontdir
  338.      EXTENSIONSRC = $(TOP)/extensions
  339.  
  340. # 429
  341.  
  342. # 435
  343.  
  344.   DEPEXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
  345.      EXTENSIONLIB =   $(DEPEXTENSIONLIB)
  346.  
  347. # 442
  348.  
  349.           DEPXLIB = $(DEPEXTENSIONLIB) $(XLIBSRC)/libX11.a
  350.              XLIB = $(EXTENSIONLIB)  $(XLIBSRC)/libX11.a
  351.  
  352.       DEPXAUTHLIB = $(XAUTHSRC)/libXau.a
  353.          XAUTHLIB =  $(DEPXAUTHLIB)
  354. # 451
  355.  
  356.         DEPXMULIB = $(XMUSRC)/libXmu.a
  357.            XMULIB =  $(DEPXMULIB)
  358.  
  359. # 458
  360.  
  361.        DEPOLDXLIB = $(OLDXLIBSRC)/liboldX.a
  362.           OLDXLIB =  $(DEPOLDXLIB)
  363.  
  364. # 465
  365.  
  366.       DEPXTOOLLIB = $(TOOLKITSRC)/libXt.a
  367.          XTOOLLIB =  $(DEPXTOOLLIB)
  368.  
  369. # 472
  370.  
  371.         DEPXAWLIB = $(AWIDGETSRC)/libXaw.a
  372.            XAWLIB =  $(DEPXAWLIB)
  373.  
  374.  LINTEXTENSIONLIB = $(EXTENSIONSRC)/lib/llib-lXext.ln
  375.          LINTXLIB = $(XLIBSRC)/llib-lX11.ln
  376.           LINTXMU = $(XMUSRC)/llib-lXmu.ln
  377.         LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
  378.           LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
  379.  
  380.         XWLIBSRC = $(CONTRIBSRC)/toolkits/Xw
  381.         DEPXWLIB = $(XWLIBSRC)/libXw.a
  382.         XWLIB =  $(DEPXWLIB)
  383.  
  384. # 496
  385.  
  386. # 513
  387.  
  388.           DEPLIBS = $(LOCAL_LIBRARIES)
  389.  
  390.          DEPLIBS1 = $(DEPLIBS)
  391.          DEPLIBS2 = $(DEPLIBS)
  392.          DEPLIBS3 = $(DEPLIBS)
  393.  
  394. ###########################################################################
  395. # Imake rules for building libraries, programs, scripts, and data files
  396. # rules:  $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $
  397.  
  398. # 125
  399.  
  400. # 136
  401.  
  402. # 512
  403.  
  404. # 525
  405.  
  406. # 581
  407.  
  408. # 1321
  409.  
  410. ###########################################################################
  411. # start of Imakefile
  412.  
  413. ################################################################################
  414. #
  415. # File:         Imakefile
  416. # RCS:          $Header: Imakefile,v 1.3 91/03/14 02:51:06 mayer Exp $
  417. # Description:  Imakefile for WINTERP Client
  418. # Author:       Niels Mayer, HPLabs
  419. # Created:      Fri Nov 24 19:47:38 1989
  420. # Modified:     Thu Mar 14 02:49:42 1991 (Niels Mayer) mayer@hplnpm
  421. # Language:     N/A
  422. # Package:      N/A
  423. # Status:       X11r4 contrib tape release
  424. #
  425. # WINTERP Copyright 1989, 1990 Hewlett-Packard Company (by Niels Mayer).
  426. # XLISP version 2.1, Copyright (c) 1989, by David Betz.
  427. #
  428. # Permission to use, copy, modify, distribute, and sell this software and its
  429. # documentation for any purpose is hereby granted without fee, provided that
  430. # the above copyright notice appear in all copies and that both that
  431. # copyright notice and this permission notice appear in supporting
  432. # documentation, and that the name of Hewlett-Packard and David Betz not be
  433. # used in advertising or publicity pertaining to distribution of the software
  434. # without specific, written prior permission.  Hewlett-Packard and David Betz
  435. # make no representations about the suitability of this software for any
  436. # purpose. It is provided "as is" without express or implied warranty.
  437. #
  438. # HEWLETT-PACKARD AND DAVID BETZ DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  439. # SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
  440. # IN 0 EVENT SHALL HEWLETT-PACKARD NOR DAVID BETZ BE LIABLE FOR ANY SPECIAL,
  441. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  442. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  443. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  444. # PERFORMANCE OF THIS SOFTWARE.
  445. #
  446. # See ./winterp/COPYRIGHT for information on contacting the authors.
  447. #
  448. # Please send modifications, improvements and bugfixes to mayer@hplabs.hp.com
  449. # Post XLISP-specific questions/information to the newsgroup comp.lang.lisp.x
  450. #
  451. ################################################################################
  452.  
  453.  OBJS = wl.o
  454.  SRCS = wl.c
  455.  
  456.  PROGRAM = wl
  457.  
  458. all:: wl
  459.  
  460. wl: $(OBJS) $(DEPLIBS)
  461.     $(RM) $@; if [ -f $@ ]; then $(MV) $@ $@~; fi
  462.     $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
  463.  
  464. install:: wl
  465.     $(INSTALL) -c $(INSTPGMFLAGS)   wl $(BINDIR)
  466.  
  467. install.man:: wl.man
  468.     $(INSTALL) -c $(INSTMANFLAGS) wl.man $(MANDIR)/wl.n
  469.  
  470. depend:: $(DEPEND)
  471.  
  472. $(DEPEND):
  473.     @echo "checking $@ over in $(DEPENDSRC) first..."; \
  474.     cd $(DEPENDSRC); $(MAKE); \
  475.     echo "okay, continuing in $(CURRENT_DIR)"
  476.  
  477. depend::
  478.     $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
  479.  
  480. lint:
  481.     $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  482. lint1:
  483.     $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  484.  
  485. clean::
  486.     $(RM) $(PROGRAM)
  487.  
  488. ###########################################################################
  489. # common rules for all Makefiles - do not edit
  490.  
  491. emptyrule::
  492.  
  493. clean::
  494.     $(RM_CMD) \#*
  495.  
  496. Makefile:: $(IMAKE)
  497.  
  498. $(IMAKE):
  499.     @(cd $(IMAKESRC); if [ -f Makefile ]; then \
  500.     echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \
  501.     echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
  502.     $(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS); fi; \
  503.     echo "okay, continuing in $(CURRENT_DIR)")
  504.  
  505. Makefile::
  506.     -@if [ -f Makefile ]; then \
  507.     echo "    $(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
  508.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  509.     else exit 0; fi
  510.     $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  511.  
  512. tags::
  513.     $(TAGS) -w *.[ch]
  514.     $(TAGS) -xw *.[ch] > TAGS
  515. # 690
  516.  
  517. # 698
  518.  
  519. # 712
  520.  
  521. ###########################################################################
  522. # empty rules for directories that do not have SUBDIRS - do not edit
  523.  
  524. install::
  525.     @echo "install in $(CURRENT_DIR) done"
  526.  
  527. install.man::
  528.     @echo "install.man in $(CURRENT_DIR) done"
  529.  
  530. Makefiles::
  531.  
  532. includes::
  533.  
  534. ###########################################################################
  535. # dependencies generated by makedepend
  536.  
  537. # DO NOT DELETE
  538.  
  539. wl.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h
  540. wl.o: /usr/include/sys/types.h /usr/include/sys/socket.h
  541. wl.o: /usr/include/sys/ioctl.h /usr/include/sys/un.h ../src-server/config.h
  542.